package cn.meomis.dao.imp;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.stereotype.Repository;

import cn.meomis.common.dao.BaseDaoHibernate;
import cn.meomis.common.entity.Pagination;
import cn.meomis.dao.CheDao;
import cn.meomis.model.Che;


@Repository
public class CheDaoImpl extends BaseDaoHibernate<Che> implements CheDao {

	@Override
	public Pagination pageQueryByHql(String hql, Object[] values,
			String countHql, int pageNumber, int pageSize) {
		return this.pageQuery( hql,  values,  countHql,  pageNumber,  pageSize);
	}
	
}
